import Vue from 'vue'
import Vuex from 'vuex'
// import user from 'user'

import indent from './indent'
import aa   from './commodity';
// console.log(state);
let state = aa.state
let mutations = aa.mutations
let actions = aa.actions
Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    // user:{}
    ...state
  },
  mutations: {
    ...mutations,
  },
  actions: {
    ...actions
  },
  modules: {
    indent
  }
})

